import request from "@/utils/request";


// 获取公众号设置列表
export function getFunctionListApi(query){
  return request({
    url:'/functionConfig/memberCenter/list',
    method:'get',
    params:query
  })
}


// 切换菜单状态
export function updateFunctionConfigStatusApi(data){
  return request({
    url:`/functionConfig/memberCenter/update/${data.id}/${data.status}`,
    method:'get'
  })
}

